﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<JumJob.Models.Bid>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Hacer oferta
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Hacer oferta</h2>
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
        <%:Html.Hidden("job_id",ViewData["job_id"]) %>
            <legend>Datos de la oferta</legend>
            <div class="editor-label">
               <label for="comment">Comentario</label>
            </div>
            <div class="editor-field">
                <%: Html.TextAreaFor(model => model.comment) %>
                <%: Html.ValidationMessageFor(model => model.comment) %>
            </div>            
            <div class="editor-label">
               <label for="Cantidad">Cantidad ofrecida</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.ammount) %>
                <%: Html.ValidationMessageFor(model => model.ammount) %>
            </div>            
            <div class="editor-label">
               <label for="development_time">Tiempo de desarrollo estimado</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.development_time) %>(en dias)
                <%: Html.ValidationMessageFor(model => model.development_time) %>
            </div>            
            <p>
                <input type="submit" value="Publicar oferta" />
            </p>
        </fieldset>
    <% } %>  

</asp:Content>

